package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModInstrab extends ModuleNavigator {
    
    public ModInstrab() {
        
        setGlobalName("ZTEST.MOD_INSTRAB");
        setInitialService(CadInstrucaoTrabalho.class, "QUERY");
        
        addNavigation((new ServiceNavigation())
                .id("20321991")
                .name("MASTER")
                .label("Intruções de trabalho")
                .destination(CadInstrucaoTrabalho.class)
                .feature("VIEW")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("20842377")
                .name("MOD_ITEM_INSTRAB")
                .label("Itens da instrução")
                .destination(CadItemInstrucao.class)
                .feature("LIST")
                .parameterName("P_ID_INSTRUCAO_TRABALHO")
                .subModule(new ModIteminst())
                );
    }
}
